//
// Created by ole on 24-8-21.
//

#ifndef TIMERPLUGIN_H
#define TIMERPLUGIN_H
#include "BasePlugin.h"


class TimerPlugin final : public BasePlugin {
public:
    TimerPlugin();

    static void onTime(int signal);

    void onTimeInner(int signal);

    bool onStart() override;

    bool onStop() override;

    static std::shared_ptr<TimerPlugin> timerInstance;
};


#endif //TIMERPLUGIN_H
